import httpInstance from "@/utils/http";

/*
params: {
	orderState:0,
  page:1,
  pageSize:2
}
*/
/**
 * 获取订单列表数据
 * @param {*} params 参数 格式 params: { orderState:0, page:1, pageSize:2 }
 * @returns 返回订单列表数据
 */
export const getUserOrder = (params) => {
  return httpInstance({
    url:'/member/order',
    method:'GET',
    params
  })
}